package com.hrm.service;

import java.util.List;

import com.hrm.domain.Dept;

/*
 * 部门业务层接口
 */
public interface DeptService {

	public List<Dept> getAllDept();

	public List<Dept> getDeptsByTerm(int flag, Object... parametes);

	public Integer getCount(int flag, Object... parametes);

	public Integer addDept(Dept dept);

	public Dept getDeptByDN(String deptName);

	public Dept getDeptByID(int ID);

	public Integer delDept(int ID);

	public Integer modifyDeptByID(Dept newDept, int ID);

}
